//
//  CenterTextCellData.h
//  18Birdies
//
//  Created by weihua on 2017/5/7.
//  Copyright © 2017年 Lc. All rights reserved.
//

#import "LcCellData.h"
#import "LcFont.h"

@interface CenterTextCellData : LcCellData

@property(nonatomic, copy) NSString* title;
@property(nonatomic, copy) NSAttributedString* attributeTitle;
@property(nonatomic, strong) LcFont* titleFont;
@property(nonatomic, strong) UIColor* bgColor;
@property(nonatomic, assign) int lines;
@property(nonatomic, assign) BOOL isItalic;

/**
 Only avaliable for .top, .bottom properties.
 Default value: top = 10, bottom = 10
 */
@property(nonatomic, assign) UIEdgeInsets titleEdgeInsets;

- (instancetype)initWithTitle:(NSString*)title line:(int)line;
- (instancetype)initWithAttributeTitle:(NSAttributedString*)attributeTitle line:(int)line;

@end
